package netty.io.demo.RPC.utils;

import netty.io.demo.RPC.entity.RequestWrapper;

public class RsUtils {
  
  public static byte[] createRequestBytes(String className, String methodName, Object[] args) {
    RequestWrapper requestWrapper = RequestWrapper.builder().className(className).methodName(methodName).args(args).build();
    return CommonUtils.transferBytes(requestWrapper);
  }
}
